<template>
    <div>
        <span @click="$router.history.go(-1)">返回</span>
        <br>
        <br>
        <br>
        <h6 v-html="haha.content"></h6>
        
    </div>
</template>

<script>
    import { articleDetail } from "../api/article"
    export default {
        data() {
              return {
                haha: {},
                flag: true,
              };
            },
            mounted() {
              articleDetail(this.$route.params.id).then((res) => {
                this.haha = res.data;
              });   
            },
              }
</script>

<style scoped>

</style>